package de.mmis.core.base.event;

import de.mmis.core.base.MethodDescriptor.P;

public abstract class AbstractTypedTimedEvent<T extends Enum<T>> extends
		AbstractTypedEvent<T> implements TimedEvent {

	private long eventTime;

	public AbstractTypedTimedEvent(@P("EventType") T type,
			@P("EventMillis") long eventTime) {
		super(type);
		this.eventTime = eventTime;
	}

	@Override
	public long getEventMillis() {
		return this.eventTime;
	}

}
